package chat.statemachine;

/**
 * This exception is thrown when a message content received does not match to a
 * declared message content type by the state machine (client or server).
 * 
 * @author Denis Conan
 * 
 */
public class AlgorithmActionInvocationException extends Exception {
	/**
	 * Serial version Unique Identifier for this exception.
	 */
	private static final long serialVersionUID = 7979541852867650988L;

	/**
	 * @see Exception#Exception()
	 */
	public AlgorithmActionInvocationException() {
		super();
	}

	/**
	 * @see Exception#Exception(java.lang.String)
	 * @param message
	 *            the output to print
	 */
	public AlgorithmActionInvocationException(final String message) {
		super(message);
	}

	/**
	 * Creates an exception caused by another exception.
	 * 
	 * @param cause
	 *            a throwable that cause this exception.
	 * @see Exception#Exception(java.lang.Throwable)
	 */
	public AlgorithmActionInvocationException(final Throwable cause) {
		super();
	}

	/**
	 * Creates an exception caused by another exception.
	 * 
	 * @param message
	 *            the detailed output.
	 * @param cause
	 *            a throwable that cause this exception.
	 * @see Exception#Exception(java.lang.String,java.lang.Throwable)
	 */
	public AlgorithmActionInvocationException(final String message,
			final Throwable cause) {
		super(message);
	}
}
